<tr>
    <td width="70%" align="left" valign="top">
<div class="block_box">
     <div class="block_top"><div></div></div>
        <div class="block_content">

<% for column in City.content_columns %>
<p>
  <b><%= column.human_name %>:</b> <%=h @city.send(column.name) %>
</p>
<% end %>

<%= link_to '编辑', :action => 'edit', :id => @city %> |
<%= link_to '返回', :action => 'index' %><br/>

<h2><%= @city.title%>下城区列表:</h2>
<table width="60%" border="0">
<% for district in @districts%>
    <tr>
      <td align="left" valign="middle">
      <%= link_to "#{district.title}", :controller => 'district', :action => 'show', :id => district %>
      </td>
      <td align="left">
      <%= link_to "编辑", :controller => 'district', :action => 'edit', :id => district %>
      </td>
    </tr>
<% end %>
</table>
<%= end_form_tag %>
<% if !@districts_pages.nil? %>
<%= pagination_links(@districts_pages)%>
<% end %>

</div>
     <div class="block_bottom"><div></div></div>
 </div>

</td>
    <td width="30%" align="left" valign="top">
 

 <div class="block_box">
     <div class="block_top"><div></div></div>
       <div class="block_content">
       <%= link_to '新建城区', :controller => 'district', :action => 'new', :id => @city %><br/>
       <%= link_to '导入社区', :controller => 'city', :action => 'import', :id => @city %><br/>
       <%= link_to '建立社区论坛', :controller => 'city', :action => 'create_forum', :id => @city %>
   </div>
     <div class="block_bottom"><div></div></div>
 </div>
 <br/>
 
 </td>
  </tr>